package com.it.Demo1;

public class Constructor extends Person{
    public Constructor(String name, float height, float weight) {
        super(name, height, weight);
    }

    public static void main(String[] args) {
        Constructor constructor1 = new Constructor("zhangsan",33f,1.73f);
        constructor1.sayHello();
        Constructor constructor2 = new Constructor("lishi",33f,1.74f);
        constructor2.sayHello();
    }
}
